package com.robot.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Record {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer aid;
    private Integer abot;
    private Integer asx;
    private Integer asy;
    private Integer bid;
    private Integer bbot;
    private Integer bsx;
    private Integer bsy;
    private String asteps;
    private String bsteps;
    private String map;
    private String loser;
    private Integer winscore;
    private Integer losescore;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createtime;
}